module.exports = {
  preset: '@vue/cli-plugin-unit-jest',
  moduleFileExtensions: ['ts', 'tsx', 'js', 'json'],
  collectCoverage: true, //是否开启测试覆盖率
  collectCoverageFrom: ['src/components/*.vue'], //我只做components目录下vue文件测试
  // u can change this option to a more specific folder for test single component or util when dev
  // for example, ['<rootDir>/packages/input']
  roots: ['<rootDir>']
}
